.pm_dropdown {
	position: absolute;
	left: -1px;
	top: 100%;
	background: $main-background;
	border: 1px solid $border;
	padding: 5px 15px;
	z-index: 4;
	margin-top: 5px;
	display: none;
	font-size: 12px;
	width: 8rem;
	max-height: 260px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 2px !important;
	box-shadow: 4px 4px 4px rgba(0,0,0,.15);

    &.pm_dropdown-opened { display: block }
	&.right {
		right: -1px;
		left: auto !important;
	}
	&.wide {
		width: 200px;
		max-height: none;
		padding: 15px;
	}
	&.wider {
		width: 240px;
		max-height: none;
		padding: 15px;
	}
	&.widest {
		width: 280px;
		max-height: none;
		padding: 15px;
	}
	&.open {
		display: block;
	}
	&.noPadding { padding: 0 }
    &.default-padding {
        padding: 5px 15px;
    }

	> button {
		background: transparent;
		color: currentColor;
		border: 0
	}

	> a,
	> button,
	> ul > li {
		cursor: pointer;
		width: 100%;
		text-align: left;
		display: block;
		line-height: 35px !important;
		height: 35px !important;
		padding: 0 !important;
		border-bottom: 1px solid $border;
		white-space: nowrap;
		box-shadow: none;
		.fa {
			line-height: 35px !important;
			height: 35px !important;
			display: inline-block;
			width: 1.5rem;
		}
		&:hover {
			background-color: transparent !important;
			color: $default-color-hover !important;
		}
		em {
			font-style: normal;
		}
	}
	> a:last-child,
	> button:last-child {
		border-bottom: none
	}
	> ul {
		display: block;
		margin: 0;
		padding: 0;
		li label {
			display: block;
		}
    }
    &.dropdown-actions-nowrap {
        .dropdown-actions-nowrap-button {
            white-space: normal;
            display: inline-flex;
            height: auto !important;
            line-height: 1.5 !important;
            .dropdown-actions-nowrap-icon {
                min-width: 25px;
            }
            .dropdown-actions-nowrap-textContainer {
                padding-top: .5em;
                padding-bottom: .5em;
                align-self: center;
            }
        }
    }
    /* view source/HTML button */
    .dropdown-actions-nowrap-button[data-message-mode=''],
    .dropdown-actions-nowrap-button[data-message-mode="html"] [data-if-message-mode="plain"],
    .dropdown-actions-nowrap-button[data-message-mode="plain"] [data-if-message-mode="html"] {
        display: none
    }
}
